Skip to content

feat(reference-app): name the requesting client and describe scopes on consent - #194

Merged
ardetrick merged 4 commits into
mainfrom
feat/reference-app-consent-realistic
Jul 26, 2026
Merged

feat(reference-app): name the requesting client and describe scopes on consent#194
ardetrick merged 4 commits into
mainfrom
feat/reference-app-consent-realistic

Conversation

@ardetrick

Copy link
Copy Markdown
Owner

The consent screen now reads like a real client's: it names the requesting application and shows a plain-language description for each scope (with the raw scope name alongside), sourced from the consent challenge. Adds a RequestedScope catalog, drops the redundant offline scope, and gives the test clients a stable client_name so the screen is deterministic. Regenerates the README screenshots.

Last of the three stacked PRs.

Known follow-up: the three after-consent-submit images are still the functional tests' echo-endpoint captures (random code, unstyled); a later change re-sources the walkthrough from /demo.

…g pages

Vendors Pico v2.1.1 as static/pico.min.css and restyles the pages as a centered card. Login now pre-fills the demo credentials with a caption so they are obvious. Page titles are normalized to h1, and the screenshot viewport is pinned to 576x520 so captures are a uniform, GitHub-column-friendly size.
…sures

The callback page leads with a prominent Exchange button and an honest note that a real app does this server-side; the raw authorization code and the client credentials move into <details> disclosures. The tokens page leads with a success line and tucks the raw token response and decoded claims behind disclosures. This keeps the variable-length, non-deterministic content out of the default view so every screen is a fixed size.
…n consent

The consent screen now reads like a real client's: it names the requesting application and shows a plain-language description for each scope (with the raw scope name alongside), sourced from the consent challenge. Adds a RequestedScope catalog for the descriptions. Drops the redundant 'offline' scope, and gives the test clients a stable client_name so the screen is deterministic. Regenerates the README screenshots.
Base automatically changed from feat/reference-app-collapse-content to main July 26, 2026 04:05
@ardetrick
ardetrick merged commit fcd5cae into main Jul 26, 2026
1 check passed
@ardetrick
ardetrick deleted the feat/reference-app-consent-realistic branch July 26, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant